package com.victualler.core.config.img.entity;

import com.victualler.core.base.dao.BaseDao;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author: Guoshichang
 * @Date: Create in 22:35 2018-04-23
 * @Discription:  图片对应的文件夹实体
 */
@Entity
@Table(name="common_imgDir")
public class ImageDirDao extends BaseDao implements Serializable {

    private Long parentId;//父文件夹id
    private String name; //文件夹名称
    private String dirPath;//本文件夹路径

    public ImageDirDao() {
    }

    public ImageDirDao(Long parentId, String name, String dirPath) {
        this.parentId = parentId;
        this.name = name;
        this.dirPath = dirPath;
    }



    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirPath() {
        return dirPath;
    }

    public void setDirPath(String dirPath) {
        this.dirPath = dirPath;
    }
}